mutable-tree: Change some `g_return_if_fail` to `g_assert()`
authorColin Walters <walters@verbum.org>
Tue, 29 Aug 2023 14:15:52 +0000 (10:15 -0400)
committerColin Walters <walters@verbum.org>
Tue, 29 Aug 2023 14:16:42 +0000 (10:16 -0400)
commit886f58005ffd8f214966b305a9f390703c556381
tree7f4e9006721701985f466e0fd63ceacb85f5d3f6
parentd001729bef1217594dd10a005c9e6649f022dab3
mutable-tree: Change some `g_return_if_fail` to `g_assert()`

We did this in some prior patches because it's better for
static analyzers; code is either reachable or not, and we don't
want the default desktop-style behavior of "try to stumble on
without crashing".  It's just likely to lead to a crash somewhere
else.
src/libostree/ostree-mutable-tree.c